package com.lagou.edu.service;

import com.lagou.edu.entity.AuthCode;

import java.util.Optional;

/**
 * @Author: yeqingyun
 * @Date: 2020/11/20 17:02
 */
public interface AuthCodeService {

    void create(AuthCode authCode);

    Optional<AuthCode> getByEmail(String email);
}
